package com.yjc.hire.server.service;

import com.yjc.hire.server.VO.TopIndustryWithThirdListVO;
import com.yjc.pojo.Industry;

import java.util.List;

/**
 * </p>
 *
 * @author jcyin
 * @since 2025/7/25
 * </p>
 */
public interface IndustryService {
    public boolean getIndustryExistByName(String industryName);


    /**
     * 创建行业分类节点
     * @param industry
     */
    public void createIndustryNode(Industry industry);

    List<Industry> getIndusryTopNodeList();

    /**
     * 根据id获取根节点列表
     * @param industryId
     * @return
     */
    List<Industry> getChildrenNodeList(String industryId);

    void updateNode(Industry industry);

    void deleteIndustryNode(String industryId);

    public Long getChildNodeCount(String industryId);

    List<Industry> getThirdList(String topIndustryId);

    void resetRedisIndustry(Industry industry);

    public List<TopIndustryWithThirdListVO> getAllThirdIndustryList();
}
